package com.ddlaw.service;

import java.util.List;
import java.util.Map;

import com.ddlaw.entity.TLawQuestionCustom;
import com.ddlaw.entity.TLawQuestions;
import com.ddlaw.entity.TLawReply;
import com.ddlaw.entity.TLawReplyCustom;

public interface LawQuestionService {
	/**咨询问题*/
	public void addQuestion(TLawQuestions questions);
	/**根据律师ID获取其问题*/
	public List<TLawReplyCustom> getQuesById(int lawyerId);
	/***获取用户提问问题*/
	public List<TLawQuestionCustom> getUserQues(Map<String,Object> params);
	/**获取律师回答问题详情*/
	public List<TLawReplyCustom> getLawyerAns(Map<String,Object> params);
	/**获取待回答问题详情*/
	public List<TLawQuestionCustom> getNoAnsQues(int lawyerId,int state);
	/**律师回答问题**/
	public void addAnsToUser(TLawReply reply);
	/**更改问题状态:1：已处理；0：未处理）*/
	public void updateQuesState(int state,int quesId);
}
